package com.zy.studentSide.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.studentSide.entity.StudentInformation;

/**
 * @author 29787
 */
public interface IStudentInformationService extends IService<StudentInformation> {

    /**
     * 教师分页查询学生数据
     * @param currentPage
     * @param pageSize
     * @param teacherId
     * @return IPage<StudentInformation>
     */
    IPage<StudentInformation> getPage(Integer currentPage, Integer pageSize, Integer teacherId);

    /**
     * 根据学生id查重
     * @param studentNum
     * @return StudentInformation
     */
    StudentInformation getStudentInformationByStudentNum(String studentNum);


    /**
     * 根据学生id，教师id查询信息
     * @param teacherId
     * @return StudentInformation
     */
    StudentInformation getStudentInformationByTeacherId(String studentNum,Integer teacherId);

}
